<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			#cotainer {
				width: 100%;
				height: 800px;
				display: flex;
				justify-content: center;
			}

			#outDiv {
				width: 600px;
				height: 500px;
				overflow: hidden;
			}

			#div_img {
				width: 1600px;
				height: 600px;
				display: flex;
				align-items: center;
				justify-content: center;
			}

			div img {
				width: 100px;
				height: 100px
			}
		</style>
	</head>
	<body>
		<div id="cotainer">
			<div id="outDiv">
				<div id="div_img">
					<img src="img/1.jpeg">
					<img src="img/2.jpeg">
					<img src="img/3.jpeg">
					<img src="img/4.jpeg">
					<img src="img/5.jpeg">
					<img src="img/6.jpeg">
					<img src="img/7.jpeg">
					<img src="img/8.jpeg">
					<img src="img/9.jpeg">
					<img src="img/10.jpeg">
					<img src="img/1.jpeg">
					<img src="img/2.jpeg">
					<img src="img/3.jpeg">
					<img src="img/4.jpeg">
					<img src="img/5.jpeg">
					<img src="img/6.jpeg">
				</div>
			</div>
		</div>
	</body>
	<script>
		var movePx = 0;
		onload = function() {
			var moveInterval = setInterval(function() {
				var div_img = document.getElementById("div_img");
				movePx--;
				if(movePx==-1000){
					movePx=0;
				}
				div_img.style.marginLeft =  movePx+"px";
			}, 10)

		}
	</script>
</html>
